from django.urls import path, include
from apps.SystemService.views import *
from django.conf.urls import url
from rest_framework import routers
# from rest_framework_jwt.views import obtain_jwt_token

# 创建路由对象
# router = routers.SimpleRouter()
router = routers.DefaultRouter()
# 注册路由
# 1.路由前缀 2.视图集
# router.register(r'SystemService/projects/list', testq, basename='SystemService')


urlpatterns = [
    url(r'SystemService/IdCard/', IdCard.as_view()),
    url(r'SystemService/Phone/', PhoneApiView.as_view()),
    url(r'SystemService/Credit/', CreditApiView.as_view()),

]
urlpatterns += router.urls
